home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -seriously_amiga- / comms / other / magicfile / example-configs / extractid.cfg < prev    next >
Text File  |  1999-04-21  |  2KB  |  64 lines

  1. .LHA
  2. c:LHA -l -m -M -N x
  3. .DMS
  4. c:dmsdescript x file_id.diz
  5. .ZIP
  6. c:unZip -C -o
  7. .LZX
  8. c:LZX -X0 -m -l x
  9. .LZH
  10. c:LHA -l -m -M -N x
  11. .txt
  12. c:TxtExtract e file_id.diz
  13. .text
  14. c:TxtExtract e file_id.diz
  15. .nfo
  16. c:TxtExtract e file_id.diz
  17. .asc
  18. c:TxtExtract e file_id.diz
  19. #
  20. ^- Very important, don't remove the hash, it's the symbol used to
  21.    indicate when to stop reading the details.
  22.  
  23. [ This file is ViewArchive.cfg from previous versions ]
  24.  
  25. How to use this file
  26. -=-=-=-=-=-=-=-=-=-=
  27.  
  28. This file is for the extracting of file_id.diz's in MagicFile.
  29.  
  30. (Note: If you do not have an archiver, please delete it in the list above
  31. otherwise you will create a nice problem for yourself)
  32.  
  33. Adding an archive type
  34. -=-=-=-=-=-=-=-=-=-=-=
  35.  
  36. Each archive type is split up into two parts:
  37.  
  38. 1. The extension the archiver uses (e.g. '.lha').
  39. 2. The command line to execute the program to extract the File_id.
  40.  
  41. Note: If you don't write 'file_id.diz' (note: LOWERCASE) in the arguments
  42. then MagicFile will add it onto the end when it executes the command, 
  43. automatically. Some programs require the filename to be written elsewhere
  44. in the command line. Please note that the file_id.diz will be extracted
  45. to the current directory, this might be SYS: - don't worry its only
  46. temporary and will be deleted.
  47.  
  48. eg.
  49.  
  50. .LHA                  (4 letter extension to detect)
  51. c:LHA -l -m -M -N x   (File to run + argument to extract file + more) 
  52.  
  53. - make sure there are no spaces at the end of either of these lines!
  54.  
  55. Remember! The archiver/description viewer must NEVER:
  56. 1. Prompt for user input
  57. 2. Display auto-show files
  58. 3. Be case sensitive (try to convert everything to lowercase)
  59. 4. Crash ;)
  60.  
  61. For 1-3 most archivers have modifiers to turn these off, you must enable these
  62. modifers. If #4 happens, delete the archiver + etc !.
  63.  
  64.